package com.woniuxy.springparking.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (PreOrder)实体类
 *
 * @author makejava
 * @since 2020-06-18 10:59:53
 */
@Data
@ApiModel(value = "PreOrder",description = "预约订单信息信息")
public class PreOrder implements Serializable {
    private static final long serialVersionUID = -17838035147781727L;
    /**
    * 主键
    */
    @ApiModelProperty(value = "预约订单主键")
    private Integer id;
    /**
    * 订单创建人
    */
    @ApiModelProperty(value = "订单创建人")
    private Integer uid;
    /**
    *用户车位ID
    */
    @ApiModelProperty(value = "用户车位ID")
    private Integer pu_id;
    /**
    * 商家车位ID
    */
    @ApiModelProperty(value = "商家车位ID")
    private Integer mu_id;
    /**
    * 订单用户名称
    */
    @ApiModelProperty(value = "订单用户名称")
    private String name;
    /**
    * 车位地址
    */
    @ApiModelProperty(value = "车位地址")
    private String location;
    /**
    * 订单编号
    */
    @ApiModelProperty(value = "订单编号")
    private String num;
    /**
    * 订单创建时间
    */
    @ApiModelProperty(value = "订单创建时间")
    private Date createTime;
    /**
    * 开始时间
    */
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    /**
    * 结束时间
    */
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    /**
    * 金额
    */
    @ApiModelProperty(value = "金额")
    private Long money;
    /**
    * 代金券金额
    */
    @ApiModelProperty(value = "代金券金额")
    private Integer cash;
    /**
    * 支付方式
    */
    @ApiModelProperty(value = "支付方式")
    private String method;
    /**
    * 订单状态，待支付，已支付，失败
    */
    @ApiModelProperty(value = "支付状态")
    private String status;

    private TPerCar tPerCar;

    private TPerStall tPerStall;

    private McarParking mcarParking;




}